// *********************************************************
//      Copyright (c) Kosta Gaitanis
//      All rights reserved
//
//      k.gaitanis@gmail.com
//
// *********************************************************

#ifndef RENDERWIDGET_H
#define RENDERWIDGET_H

#include <QComboBox>
#include <QCheckBox>
#include <QLabel>

#include "CollapsibleWidget.h"

class RenderWidget : public CollapsibleWidget
{
    Q_OBJECT
public:
    explicit RenderWidget(QWidget *parent = 0);

signals:
    void setPipelineParameter(const QString& name, const QVariant& value);

public slots:
    void onSceneRenderTime(double time);
    void onGlowSizeChanged(int index);
    void onRenderGlowChanged(bool render);
    void onBlurSamplesChanged(int index);
    void onRenderSizeChanged(int index);


private:
    QCheckBox *m_renderGlowCheckBox;
    QLabel *m_sceneRenderTimeLabel;
    QComboBox *m_glowTextureSizeCombo;
    QComboBox *m_renderTextureSizeCombo;
    QComboBox *m_blurSamplesCombo;

};

#endif // RENDERWIDGET_H
